projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48c5f03
)
(x_display_and_set_cursor): Check for the focus
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 5 Feb 2001 15:47:07 +0000
(15:47 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 5 Feb 2001 15:47:07 +0000
(15:47 +0000)
frame's selected window instead of selected_window.
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 3d0b151370dad9997fa0e532acdc60a2a9258152..14a34bd2ecab2236bb7bd7beb7f86110e48301e3 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-10877,8
+10877,8
@@
x_display_and_set_cursor (w, on, hpos, vpos, x, y)
}
else
{
- if (
w != XWINDOW (selected_window)
- ||
f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame
)
+ if (
f != FRAME_X_DISPLAY_INFO (f)->x_highlight_frame
+ ||
w != XWINDOW (f->selected_window)
)
{
extern int cursor_in_non_selected_windows;